﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Work4
{
    public sealed class Fish  //B:类的修饰符—— sealed类 封闭类 无法被继承，只能被实例化
    {
        public int Num { get; set; } 

        public string Name { get; set; }  //{get;set;}为自动访问修饰符
    }
}
